import request from '@/utils/request'
///dev-api/departmentWaterResources/requireCollection
// 查询需求征集列表
export function listRequireCollection(query) {
    return request({
        url: '/departmentWaterResources/requireCollection/list',
        method: 'get',
        params: query
    })
}

// 查询需求征集详细
export function getRequireCollection(id) {
    return request({
        url: '/departmentWaterResources/requireCollection/' + id,
        method: 'get'
    })
}

// 新增需求征集
export function addRequireCollection(data) {
    return request({
        url: '/departmentWaterResources/requireCollection',
        method: 'post',
        data: data
    })
}

// 修改需求征集
export function updateRequireCollection(data) {
    return request({
        url: '/departmentWaterResources/requireCollection',
        method: 'put',
        data: data
    })
}

// 删除需求征集
export function delRequireCollection(id) {
    return request({
        url: '/departmentWaterResources/requireCollection/' + id,
        method: 'delete'
    })
}
